myapp.service('registerService',function ($http) {
     this.verifyPhone=function (phoneNumber) {
          return $http.get('verifyPhone.action?telephone='+phoneNumber)
     }
})